package com.pinusmusic.domain;

import java.util.List;

public class Singer {
    private Integer sid;//歌手编号
    private String singername;//歌手名
    private String introduction;//歌手简介
    private String birthday;//歌手生日
    private String singerimg;//歌手照片
    private List<Music> musicList; //歌手的歌曲
    public Singer() {
    }

    public Singer(Integer sid, String singername, String introduction, String birthday, String singerimg, List<Music> musicList) {
        this.sid = sid;
        this.singername = singername;
        this.introduction = introduction;
        this.birthday = birthday;
        this.singerimg = singerimg;
        this.musicList = musicList;
    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public String getSingername() {
        return singername;
    }

    public void setSingername(String singername) {
        this.singername = singername;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String instruction) {
        this.introduction = instruction;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public String getSingerimg() {
        return singerimg;
    }

    public void setSingerimg(String singerimg) {
        this.singerimg = singerimg;
    }

    public List<Music> getMusicList() {
        return musicList;
    }

    public void setMusicList(List<Music> musicList) {
        this.musicList = musicList;
    }

    @Override
    public String toString() {
        return "Singer{" +
                "sid=" + sid +
                ", singername='" + singername + '\'' +
                ", introduction='" + introduction + '\'' +
                ", birthday='" + birthday + '\'' +
                ", singerimg='" + singerimg + '\'' +
                ", musicList=" + musicList +
                '}';
    }
}
